package com.neuedu.elmserver.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.neuedu.elmserver.pojo.Users;
import com.neuedu.elmserver.vo.ResultVO;

import java.util.List;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author wyh
 * @since 2024-11-07
 */
public interface UsersService extends IService<Users> {
    public List<Users> queryAllUsers();

    public ResultVO userLogin(String username,String password);

    public ResultVO userRegister(String username, String password);

    public ResultVO changePassword(String username, String currentPassword, String newPassword);

    public ResultVO userProfile(String username);

    // 添加更新用户信息的接口
    public ResultVO updateUserProfile(Users user);

    public ResultVO beVIP(Users user);
}
